import { FsFile } from './file';
import { FileFactoryBase, IFile } from '../../contract';

export class FsFileFactory extends FileFactoryBase {
    public constructor(
        cwd: string,
        view: string,
    ) {
        super(cwd, view);
    }

    public buildFile(name: string): IFile {
        return new FsFile(name, this);
    }
}